package com.juyu.miliao.api.controller;

import com.juyu.miliao.api.domain.IconOfficial;
import com.juyu.miliao.api.service.IconOfficialService;
import com.juyu.miliao.common.domain.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 头像
 * @Auther: 卜加超
 * @Date: 2019/7/11 09:10
 * @Description:
 */
@RestController
@RequestMapping("/icon")
public class IconOfficialController {
    @Autowired
    private IconOfficialService iconOfficialService;
    //
    @GetMapping("/list")
    public List<IconOfficial> getIconList(){
        return iconOfficialService.getIconList();
    }
}
